package Lesson18;

public class Zoo {
	Mammal[] mammals = new Mammal[3];
	
	public void makeAllAnimalsNoisy()
	{
		for (int i=0; i<mammals.length; i++)
		{
			mammals[i].makeNoise();
			mammals[i].giveBirth();
			mammals[i].standStill();
		}
	}
}
